package net.xumf.support.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Setter
@Getter
@ApiModel(description = "email定时器模型")
public class QuartzEmailDTO extends QuartzDTO {

    // 邮件接收用户 （已逗号隔开）
    @NotBlank(message = "邮件接受者不能为空")
    @ApiModelProperty(value = "邮件接收用户")
    private String receiver;
    // 用户id （已逗号隔开）
    @NotBlank(message = "邮件接受者不能为空")
    @ApiModelProperty(value = "用户id")
    private String userId;
}
